package com.flurry.android;

import android.content.Context;
import android.text.TextUtils;
import com.flurry.android.caching.ObjectData;
import java.util.UUID;
import java.util.Vector;
import org.apache.http.NameValuePair;

final class at extends dr
{
  public at(Context paramContext, String paramString)
  {
    this.fB = new by(paramContext, paramString);
  }

  public final String a(ObjectData paramObjectData)
  {
    if (TextUtils.isEmpty(paramObjectData.getId()));
    for (String str = UUID.randomUUID().toString(); ; str = paramObjectData.getId())
      for (int i = 0; i < paramObjectData.getKeyValuesListSize(); i++)
        this.fB.addItem(new bm(((NameValuePair)paramObjectData.getKeyValues().get(i)).getName(), ((NameValuePair)paramObjectData.getKeyValues().get(i)).getValue(), str, null, paramObjectData.getCollectionName()));
    return str;
  }

  protected final boolean a(String paramString1, String paramString2, String paramString3, String paramString4)
  {
    if (!paramString2.equals(this.fB.getValueByKey(paramString1, paramString3, paramString4)))
    {
      b(paramString3, paramString1, paramString2);
      this.fB.updateItem(paramString1, paramString2, paramString3, paramString4);
      return true;
    }
    return false;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.at
 * JD-Core Version:    0.6.2
 */